﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate;
using NHibernate.Linq;
using cmsservice.Entity;
using cmsservice.Entity.Log;

namespace cmsservice.DAL.Hibernate
{
    public class LogContext:DataContext
    {
        private static ISessionFactory factory = null;

        public LogContext()
            : base("loghibernate.cfg.xml",ref factory)
        {

        }

        public IQueryable<BBSKeyValue> BBSKeyValueEntityS
        {
            get
            {
                return Session.Query<BBSKeyValue>();
            }
        }

    }
}
